package cn.ecnu.note.feign;


import cn.ecnu.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("paper-management-search")
public interface SearchServiceFeign {

    @GetMapping("/elk/notenum/{paperId}/{amount}")
    R changeNoteNum(@PathVariable("paperId") Integer paperId, @PathVariable("amount") Integer amount);
}
